x86: Clean up asm keyword usage (asm volatile rather than __asm__
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 11 Sep 2007 11:14:38 +0000 (12:14 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 11 Sep 2007 11:14:38 +0000 (12:14 +0100)
commit9caf62ac1390ad6fc8895ae442023dedd2c3597b
tree5c31e5f0416a2f740a7ce97fa7422d0adc55388e
parentf7f39e3ac3944a3a56cfc57696347c485aea941c
x86: Clean up asm keyword usage (asm volatile rather than __asm__
__volatile__ in most places) and ensure we use volatile keyword
wherever we have an asm stmt that produces outputs but has other
unspecified side effects or dependencies other than the
explicitly-stated inputs.

Also added volatile in a few places where its not strictly necessary
but where it's unlikely to produce worse code and it makes our
intentions perfectly clear.

The original problem this patch fixes was tracked down by Joseph
Cihula <joseph.cihula@intel.com>.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/bitops.c
xen/arch/x86/cpu/common.c
xen/arch/x86/domain.c
xen/arch/x86/time.c
xen/arch/x86/traps.c
xen/arch/x86/x86_64/traps.c
xen/arch/x86/x86_emulate.c
xen/include/asm-x86/bitops.h
xen/include/asm-x86/byteorder.h
xen/include/asm-x86/div64.h
xen/include/asm-x86/processor.h